module.exports = (app) => {
  const mongoose = app.mongoose;
  const Schema = mongoose.Schema;

  const TrademarksSchema = new Schema({
    name: {
      type: String,
      required: true,
    },
    logoUrl: {
      type: "string",
      required: true,
    },
    isAdmin: {
      type: Boolean,
      default: false,
    },
  });

  return mongoose.model("Trademarks", TrademarksSchema, "Trademarks");
};
